package com.xin.marcus.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 用户财务资金账户表
* @TableName u_finance_account
*/
public class UFinanceAccount implements Serializable {

    /**
    * 
    */
    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer id;
    /**
    * 用户ID
    */
    @NotNull(message="[用户ID]不能为空")
    @ApiModelProperty("用户ID")
    private Integer uid;
    /**
    * 用户可用资金
    */
    @NotNull(message="[用户可用资金]不能为空")
    @ApiModelProperty("用户可用资金")
    private BigDecimal availableMoney;

    /**
    * 
    */
    private void setId(Integer id){
    this.id = id;
    }

    /**
    * 用户ID
    */
    private void setUid(Integer uid){
    this.uid = uid;
    }

    /**
    * 用户可用资金
    */
    private void setAvailableMoney(BigDecimal availableMoney){
    this.availableMoney = availableMoney;
    }


    /**
    * 
    */
    private Integer getId(){
    return this.id;
    }

    /**
    * 用户ID
    */
    private Integer getUid(){
    return this.uid;
    }

    /**
    * 用户可用资金
    */
    private BigDecimal getAvailableMoney(){
    return this.availableMoney;
    }

}
